<extend name="public/base" />
<block name="body">
    <div class="layui-fluid">
        <div class="layui-card">
            <div class="layui-card-body layui-text">
                <fieldset class="layui-elem-field">
                    <legend>系统信息</legend>
                    <table class="layui-table">
                        <tbody>
                            <tr>
                                <td>服务器操作系统：</td>
                                <td>{$sys_info.os}</td>
                                <td>服务器域名/IP：</td>
                                <td>{$sys_info.domain} [ {$sys_info.ip} ]</td>
                                <td>服务器环境：</td>
                                <td>{$sys_info.web_server}</td>
                            </tr>
                            <tr>
                                <td>PHP 版本：</td>
                                <td>{$sys_info.phpv}</td>
                                <td>Mysql 版本：</td>
                                <td>{$sys_info.mysql_version}</td>
                                <td>GD 版本</td>
                                <td>{$sys_info.gdinfo}</td>
                            </tr>
                            <tr>
                                <td>文件上传限制：</td>
                                <td>{$sys_info.fileupload}</td>
                                <td>最大占用内存：</td>
                                <td>{$sys_info.memory_limit}</td>
                                <td>最大执行时间：</td>
                                <td>{$sys_info.max_ex_time}</td>
                            </tr>
                            <tr>
                                <td>安全模式：</td>
                                <td>{$sys_info.safe_mode}</td>
                                <td>Zlib支持：</td>
                                <td>{$sys_info.zlib}</td>
                                <td>Curl支持：</td>
                                <td>{$sys_info.curl}</td>
                            </tr>
                        </tbody>
                    </table>
                </fieldset>
            </div>
        </div>
        <div class="layui-card">
            <div class="layui-card-body">
                <fieldset class="layui-elem-field">
                    <legend>项目信息</legend>
                    <div class="layui-field-box">
                        <form class="layui-form layui-form-pane" action="">
                            <div class="layui-form-item">
                                <label class="layui-form-label">项目名称</label>
                                <div class="layui-input-block">
                                    <input type="text" value="{:config('app_name')}" readonly="1" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">主框架</label>
                                <div class="layui-input-block">
                                    <input type="text" value="ThinkPHP {$Think.version}" readonly="1" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">应用环境</label>
                                <div class="layui-input-block">
                                    <input type="text" value="{:env('APP_ENV')}" readonly="1" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">Debug/Trace</label>
                                <div class="layui-input-block">
                                    <input type="text" value="{:config('app_debug')?'true':'false' } / {:config('app_trace')?'true':'false' }" readonly="1" class="layui-input">
                                </div>
                            </div>
                        </form>
                    </div>
                </fieldset>
            </div>
        </div>
    </div>
</block>
<block name="script">
</block>